<script>
export default {
  name: 'Home',
  components: {},
  methods: {
    toPage (href) {
      if (!href) {
        return
      }
      location.href = href
    }
  }
}
</script>

<template>
  <div>
    <el-button @click="toPage('/login.html')">登 录</el-button>
    <el-button @click="toPage('/')">前 台</el-button>
    <el-button @click="toPage('/admin.html')">后 台</el-button>
  </div>
</template>
